﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Forum.Models
{
    public class PostDetailModel
    {
        public int Id
        {
            get;
            set;
        }
        public string Title
        {
            get;
            set;
        }
        public DateTime DatePublished
        {
            get;
            set;
        }
        public string Content
        {
            get;
            set;
        }
        public string AuthorUsername
        {
            get;
            set;
        }
        public List<AnswerModel> Answers
        {
            get;
            set;
        }
    }
}